package com.scpii.api.persistence.auth;

import java.util.List;

import com.scpii.api.domain.auth.AccessToken;

public interface AccessTokenMapper {
	int deleteByPrimaryKey(String tokenId);

	int insert(AccessToken record);

	int insertSelective(AccessToken record);

	AccessToken selectByPrimaryKey(String tokenId);

	int updateByPrimaryKeySelective(AccessToken record);

	int updateByPrimaryKeyWithBLOBs(AccessToken record);

	int updateByPrimaryKey(AccessToken record);

	void deleteByRefreshToken(String extractTokenKey);

	List<AccessToken> selectByDeviceId(Long deviceId);

	List<AccessToken> selectByAppId(String clientId);
}